package com.douya.pangu.application.sys.repository;

import com.douya.pangu.application.sys.pojo.entity.es.CoreLogEsDO;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author hcy
 * @Date 2023/7/5
 */
@Repository
public interface CoreLogRepository extends ElasticsearchRepository<CoreLogEsDO, Long> {

    /**
     * 查询method
     *
     * @param method method
     * @return List<CoreLogEsDO>
     */
     List<CoreLogEsDO> findAllByMethod(String method);


}
